package com.chen.blue.dictionary;

/**
 * Created By CLT On 2024/5/15.
 */
@SuppressWarnings("all")
public interface DataPermissionDict {

    /**
     * 表名
     */
    public static final String TABLE_NAME_SYSTEM_USER = "system_users";
    public static final String TABLE_NAME_SYSTEM_MENU = "system_menu";
    public static final String TABLE_NAME_SYSTEM_DEPT = "system_dept";
    public static final String TABLE_NAME_SERVICE_CONTEST_APPLY_ACTIVE = "service_contest_apply_active";
    public static final String TABLE_NAME_SERVICE_CONTEST_APPLY = "service_contest_apply";
    public static final String TABLE_NAME_SERVICE_CONTEST_APPLY_RECORD = "service_contest_apply_record";

    /**
     * 权限字段
     */
    public static final String DATA_SCOPE_COLUMN_DEPT_ID = "dept_id";
    public static final String DATA_SCOPE_COLUMN_ID = "id";
    public static final String DATA_SCOPE_COLUMN_PERSON_AUDIT = "person_audit";
    public static final String DATA_SCOPE_COLUMN_CREATOR = "creator";

    /**
     * 数据权限类型
     */
    public static final Integer DATA_SCOPE_ALL = 0;
    public static final Integer DATA_SCOPE_DEPT_OWN = 1;
    public static final Integer DATA_SCOPE_DEPT_CHILDREN = 2;
    public static final Integer DATA_SCOPE_DEPT_SELECT = 3;
    public static final Integer DATA_SCOPE_OWN = 4;


}
